package com.monitor.entity;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

@TableName("customer_in_role")
public class CustomerInRole extends Model<CustomerInRole> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer customerId;
    private Integer customerRoleId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getCustomerRoleId() {
        return customerRoleId;
    }

    public void setCustomerRoleId(Integer customerRoleId) {
        this.customerRoleId = customerRoleId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
